#ifndef _NAND_ECC_H_
#define _NAND_ECC_H_
U8 rNF_ReadPage(U32 addr, unsigned char * to);
U8 rNF_WritePage(U32 page_number);
U8 rNF_EraseBlock(U32 block_number);
U8 rNF_MarkBadBlock(U32 block);
U8 rNF_IsBadBlock(U32 block);
U8 rNF_RamdomWrite(U32 page_number, U32 add, U8 dat);
U8 rNF_RamdomRead(U32 page_number, U32 add);
#endif